﻿<!DOCTYPE html>
<html>

<body>
<style>
    .modal-content{width:900px!important;}
    .form-horizontal .control-label{display: inline-block;width:10%;
        text-align:justify!important;
        text-align-last:justify;/*解决IE的支持*/ }
    .title{font-size:16px;background-color:#fff;margin:15px 0px;line-height:45px;padding-left:20px;}
</style>

<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" close="true">
        <span aria-hidden="true">×</span>
    </button>
    <h4 class="modal-title">
        【{$detail.title}】更新日志
    </h4>
</div>
<div class="newtest">
    <div class="new_main">
        <table class="layui-hide" id="demo1" lay-filter="demo1"></table>
    </div>
</div>
<script src="/static/js/index.js"></script>
<script src="/static/js/indextab.js"></script>
<script src="/static/js/pace.min.js"></script>
<!--弹框js-->
<script src="/static/js/yii.js"></script>
<script>
    layui.use(['form','jquery','layer','laydate','table'], function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer;
        var form = layui.form;
        var laydate = layui.laydate;
        var table = layui.table //表格
        //日期范围
        laydate.render({
            elem: '#test6'
            , range: true
        });

        var pro_id = {$pro_id};
        var url = "{:URL('project/Figure/updateLog')}";
        //搜索操作
        $('.serach_btn').click(function () {
            var keyword = $('input[name="keyword"]').val();
            var where = {keyword:keyword,id:pro_id};
            search(table,url,where,"#demo1")
        });

        //列表
        var where = {type:'list',id:pro_id};
        var title = "权限列表";
        var cols = [[{field: 'id', title: 'ID',  sort: true, fixed: 'left',width:80, align:'center'}
            ,{field: 'remark', title: '问题内容', align:'center',width:520}
            ,{field: 'project_status', title: '状态', align:'center',width:80}
            ,{field: 'addtime', title: '添加时间', align:'center',sort: true,width:200}
        ]];
        showlist(table,url,where,title,cols,0,10,"#demo1","#toolbarDemo1");

    });
</script>
</body>
</html>
